package com.zyb.patient.service;

import java.util.Map;

@SuppressWarnings("rawtypes")
public class Task {
    private int taskID;
    private Map taskParam;
    
    
    public static final int LOGIN_USER = 0; // 用户登录(登录模式1)
    public static final int GET_CODE = 1; // 获取用户验证码
    public static final int GET_VERSION = 2; // 用户点击获取版本号
    public static final int GET_VERSION2 = 3; //应用启动自动更新获取版本号
    public static final int SEND_PUSH_USERID = 4;//主动推送id到业务服务器绑定
    public static final int GET_INIT_DATA = 6;//获取app初始化数据
    public static final int EDIT_USER_NAME = 7;//修改用户姓名
    public static final int EDIT_USER_SEX = 8;//修改用户性别
    public static final int SEND_FEED_BACK = 9;//意见反馈
    public static final int CANCEL_LESSON = 10;//取消课程
    public static final int EDIT_USER_CITY = 11;//修改用户城市
    
    

    public Task(int id, Map param) {
        this.taskID = id;
        this.taskParam = param;
    }

    public int getTaskID() {
        return taskID;
    }

    public void setTaskID(int taskID) {
        this.taskID = taskID;
    }

    public Map getTaskParam() {
        return taskParam;
    }

    public void setTaskParam(Map taskParam) {
        this.taskParam = taskParam;
    }

}
